import request from './request'

const baseUrl = {
  sysUrl: import.meta.env.VITE_SERVER
}

// sessionApi 获取用户会话的接口
export const sessionApi = () => {
  return request.get({ url: baseUrl.sysUrl + '/system/user/session' })
}
// imgCodeApi 获取图形验证码的接口
export const imgCodeApi = () => {
  return request.get({ url: baseUrl.sysUrl + '/common/img-code' })
}
